package com.shaobufan.museum.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shaobufan.museum.pojo.entity.Mission;
import com.shaobufan.museum.pojo.request.mission.MissionAddRequest;

import java.util.List;

/**
* @author 17126
* @description 针对表【mission(任务表)】的数据库操作Service
* @createDate 2024-04-22 12:10:45
*/
public interface MissionService extends IService<Mission> {

    /**
     * 添加任务
     *
     * @param missionAddRequest 任务参数
     * @return Boolean
     */
    Boolean addMission(MissionAddRequest missionAddRequest);

    List<Mission> getMission(Integer departId);
}
